function len = decode_stu_num(num)
len = 0;
while num ~= 0
    m = mod(num,10);
    len = len + m;
    num = fix(num/10);
end